package com.kkb.pojo.complex;

import com.kkb.pojo.TbAuthority;

import java.util.Date;
import java.util.List;

public class MenuItem extends TbAuthority {
    public MenuItem(){}
    public MenuItem(Integer authorityId, String authorityName, String code, String authorityDescription, String url, Integer type, Integer authorityPriority, Integer parentId, String isDelete, String isItem, String createId, String updateId, Date createTime, Date updateTime, Integer sort, String bak1, String bak2, String bak3) {
        this.setAuthorityId(authorityId);
        this.setAuthorityName(authorityName);
        this.setCode(code);
        this.setAuthorityDescription(authorityDescription);
        this.setUrl(url);
        this.setType(type);
        this.setAuthorityPriority(authorityPriority);
        this.setParentId(parentId);
        this.setIsDelete(isDelete);
        this.setIsItem(isItem);
        this.setCreateId(createId);
        this.setUpdateId(updateId);
        this.setCreateTime(createTime);
        this.setUpdateTime(updateTime);
        this.setSort(sort);
        this.setBak1(bak1);
        this.setBak2(bak2);
        this.setBak3(bak3);
    }
    private List<MenuItem> children;

    public List<MenuItem> getChildren() {
        return children;
    }

    public void setChildren(List<MenuItem> children) {
        this.children = children;
    }
}
